package com.lst.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lst.tools.mybatis.entity.DeleteBaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * 订单跟进记录表
 *
 * @author Frank
 * @date 2020-02-05 23:28:26
 * @version: V1.0
 */
@Data
@NoArgsConstructor
@TableName(value = "lst_order_follow")
@ApiModel(value = "订单跟进记录表")
public class OrderFollow extends DeleteBaseModel {

    public static final String ORDER_ID = "order_id";
    public static final String PROMO_USER_ID = "promo_user_id";
    public static final String COMPLETE_AT = "complete_at";
    public static final String ORDER_STATUS = "order_status";
    public static final String REMARK = "remark";

    @ApiModelProperty(name = "orderId", value = "订单id", dataType = "Long")
    @TableField(value = ORDER_ID)
    private Long orderId;

    @ApiModelProperty(name = "promoUserId", value = "推销员用户id", dataType = "Long")
    @TableField(value = PROMO_USER_ID)
    private Long promoUserId;

    @ApiModelProperty(name = "completeAt", value = "完成时间", dataType = "Date")
    @TableField(value = COMPLETE_AT)
    private Date completeAt;

    @ApiModelProperty(name = "orderStatus", value = "订单状态  10:订单已提交   20:贷款申请中   30:贷款成功   40:贷款失败", dataType = "Integer")
    @TableField(value = ORDER_STATUS)
    private Integer orderStatus;

    @ApiModelProperty(name = "remark", value = "跟进备注", dataType = "String")
    @TableField(value = REMARK)
    private String remark;


}